<%= stylesheet_link_tag 'registrations' %>
<p>Registrieren Sie ihre Firma:</p>
<div id="form_register">
	
  <h1>Sign Up</h1>
	<%= form_for :company, :url => {:action => "create"} do |f| %>
    <p> Username:</br> <%= f.text_field :name%> </p>
    <p> Email:</br> <%= f.text_field :email%> </p>
    <p> Password:</br> <%= f.password_field :password%></p>
    <p> Password Confirmation:</br> <%= f.password_field :password_confirmation%> </p>
    <%= f.submit :Signup %>
  <% end %>
  <% if @company.errors.any? %>
    <ul class="Signup_Errors">
    <% for message_error in @company.errors.full_messages %>
      <li>* <%= message_error %></li>
    <% end %>
    </ul>
  <% end %>

</div>
